﻿using System.Configuration;
using System.Data;
using System.Windows;
using Yitter.IdGenerator;

namespace WallpaperForms
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : System.Windows.Application
    {
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            var options = new IdGeneratorOptions() { WorkerId = 1 };
            YitIdHelper.SetIdGenerator(options);

            // Create the startup window
            MainWindow wnd = new MainWindow();
            // Do stuff here, e.g. to the window
            wnd.Title = "Something else";
            // Show the window
            wnd.Show();
        }

    }
}
